package com.suning.sawp.po.contend;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 〈一句话功能简述〉<br>
 * 〈功能详细描述〉
 *
 * @author 12061748
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@Entity(name = "TOPIC_INFO")
public class TopicBean implements Serializable {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 164564551320201890L;
    /**
     * 话题id
     */
    private Long topicId;
    /**
     * 话题内容
     */
    private String topicName;
    /**
     * 话题内容
     */
    private String topicImg;
    /**
     * 正方人数
     */
    private Integer supNum;
    /**
     * 反方人数
     */
    private Integer rejNum;
    /**
     * 正方评论数
     */
    private Integer supCommNum;
    /**
     * 反方评论数
     */
    private Integer rejCommNum;
    /**
     * 创建人
     */
    private String creator;
    /**
     * 活动结束时间
     */
    private String endTime;
    /**
     * 活动创建时间
     */
    private String createTime;

    /**
     * 正方文案
     */
    private String supViewTip;

    /**
     * 反方文案
     */
    private String rejViewTip;
    /**
     * 是否已结束
     */
    private Boolean isEnd;

    @Id
    @Column(name = "TOPIC_ID")
    public Long getTopicId() {
        return topicId;
    }

    public void setTopicId(Long topicId) {
        this.topicId = topicId;
    }

    @Column(name = "TOPIC_NAME")
    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    @Column(name = "SUP_NUM")
    public Integer getSupNum() {
        return supNum;
    }

    public void setSupNum(Integer supNum) {
        this.supNum = supNum;
    }

    @Column(name = "REJ_NUM")
    public Integer getRejNum() {
        return rejNum;
    }

    public void setRejNum(Integer rejNum) {
        this.rejNum = rejNum;
    }

    @Column(name = "SUP_COMM_NUM")
    public Integer getSupCommNum() {
        return supCommNum;
    }

    public void setSupCommNum(Integer supCommNum) {
        this.supCommNum = supCommNum;
    }

    @Column(name = "REJ_COMM_NUM")
    public Integer getRejCommNum() {
        return rejCommNum;
    }

    public void setRejCommNum(Integer rejCommNum) {
        this.rejCommNum = rejCommNum;
    }

    @Column(name = "CREATOR")
    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    @Column(name = "END_TIME")
    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Column(name = "CREATE_TIME")
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Column(name = "TOPIC_IMG")
    public String getTopicImg() {
        return topicImg;
    }

    public void setTopicImg(String topicImg) {
        this.topicImg = topicImg;
    }

    public Boolean getIsEnd() {
        return isEnd;
    }

    public void setIsEnd(Boolean isEnd) {
        this.isEnd = isEnd;
    }

    @Column(name = "SUP_VIEW_TIP")
    public String getSupViewTip() {
        return supViewTip;
    }

    public void setSupViewTip(String supViewTip) {
        this.supViewTip = supViewTip;
    }

    @Column(name = "REJ_VIEW_TIP")
    public String getRejViewTip() {
        return rejViewTip;
    }

    public void setRejViewTip(String rejViewTip) {
        this.rejViewTip = rejViewTip;
    }

}
